{"ast":null,"code":"import _regeneratorRuntime from\"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js\";import _asyncToGenerator from\"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";import _classCallCheck from\"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/classCallCheck.js\";import _createClass from\"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/createClass.js\";import apiClient from\"../http\";import{profile as _profile}from\"../routes\";var UserService=/*#__PURE__*/function(){function UserService(){_classCallCheck(this,UserService);}_createClass(UserService,null,[{key:\"profile\",value:function(){var _profile2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:return _context.abrupt(\"return\",apiClient.get(_profile()));case 1:case\"end\":return _context.stop();}}},_callee);}));function profile(){return _profile2.apply(this,arguments);}return profile;}()}]);return UserService;}();export{UserService as default};","map":{"version":3,"names":["apiClient","profile","UserService","get"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/services/UserService.ts"],"sourcesContent":["import apiClient from \"../http\";\nimport {AxiosResponse} from 'axios';\nimport {profile} from \"../routes\"\nimport {UserListItem} from \"../models/response/UserListItem\";\n\nexport default class UserService {\n    public static async profile(): Promise<AxiosResponse<UserListItem>> {\n        return apiClient.get<UserListItem>(profile());\n    }\n}"],"mappings":"skBAAA,MAAOA,UAAS,KAAM,SAAS,CAE/B,OAAQC,OAAO,GAAPA,SAAO,KAAO,WAAW,IAGZC,YAAW,0NAC5B,qKACWF,SAAS,CAACG,GAAG,CAAeF,QAAO,EAAE,CAAC,wDAChD,kHAHgBC,WAAW"},"metadata":{},"sourceType":"module"}